package com.cnswhy.cloud.server.core.service.impl;


import com.cnswhy.cloud.server.core.dao.SpreadLogMapper;
import com.cnswhy.cloud.server.core.dto.SpreadLogBo;
import com.cnswhy.cloud.server.core.entity.SpreadLog;
import com.cnswhy.cloud.server.core.service.SpreadLogService;
import com.cnswhy.cloud.common.core.base.service.SuperServiceImpl;

import com.cnswhy.cloud.server.core.vo.SpreadVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 业务实现类
 * 
 * </p>
 *
 * @author cnswhy
 * @date 2020-09-30
 */
@Slf4j
@Service

public class SpreadLogServiceImpl extends SuperServiceImpl<SpreadLogMapper, SpreadLog> implements SpreadLogService {
    @Override
    public SpreadVo queryCustomerSpread(Long customerId) {
        return getBaseMapper().queryCustomerSpread(customerId);
    }
    @Override
    public Map<String, Object> subTotalAmount(SpreadLogBo bo) {
        return getBaseMapper().subTotalAmount(bo);
    }

    @Override
    public List<SpreadLog> getDumplate() {
        return baseMapper.getDumplate();
    }
}
